package com.ysx.member.entity;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;


@Data
public class PassengerSaveReq {
    private Long id;

    @NotNull(message = "[人员id]不能为空")//手机号注册不能为空框架
    private Long memberId;

    @NotBlank(message = "[姓名]不能为空")//手机号注册不能为空框架
    private String name;

    @NotBlank(message = "[身份证号]不能为空")//手机号注册不能为空框架
    private String idCard;

    @NotBlank(message = "[旅客类型]不能为空")//手机号注册不能为空框架
    private String type;

    private Date createTime;

    private Date updateTime;



}